<#import "/layout/common.html" as com>
<#escape x as x?html>

<#assign header><a href="/man/games">Quản lý Game</a></#assign>

<#assign pageCss>
.a{border-bottom:1px dashed #666666;margin-left:20px;margin-bottom:8px;}
.a p{border-top:1px dashed #666666;padding-top:8px;margin:8px 0 4px 0;}
.a img{width:40px;height:30px;}
b.sel{background:transparent url(${com.baseUrl!?html}files/img/game.gif) left center no-repeat; padding-left:20px;}
a.n{font-weight:bold;}
.toolbar {text-align:right; margin:4px; font-weight:bold;}
.fields{width:100%;}
textarea{font-family:Arial;font-size:small;}
.fields .text{width:100%;}
td.l{vertical-align:top;white-space:nowrap;width:100px;text-align:right;} 
td{font-size:12px;}
</#assign>

<@com.page title="Java Mobile Game" css=pageCss header=header>

	<div class="toolbar">
	<a href="/man/game">Create Game...</a>
	</div>
	
<#if games?has_content>
	<ol>
	<#list games as game>
		<li><a href="/man/game?c=${game.code!?html}">${game.title!?html}</a></li>
	</#list>
	</ol>
</#if>

</@com.page>

</#escape>